home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / ppc-amigaos / include / powerup / ppcinline / misc.h < prev    next >
C/C++ Source or Header  |  2000-02-28  |  699b  |  23 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _PPCINLINE_MISC_H
  4. #define _PPCINLINE_MISC_H
  5.  
  6. #ifndef __PPCINLINE_MACROS_H
  7. #include <powerup/ppcinline/macros.h>
  8. #endif /* !__PPCINLINE_MACROS_H */
  9.  
  10. #ifndef MISC_BASE_NAME
  11. #define MISC_BASE_NAME MiscBase
  12. #endif /* !MISC_BASE_NAME */
  13.  
  14. #define AllocMiscResource(unitNum, name) \
  15.     LP2(0x6, UBYTE *, AllocMiscResource, unsigned long, unitNum, d0, UBYTE *, name, a1, \
  16.     , MISC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  17.  
  18. #define FreeMiscResource(unitNum) \
  19.     LP1NR(0xc, FreeMiscResource, unsigned long, unitNum, d0, \
  20.     , MISC_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  21.  
  22. #endif /* !_PPCINLINE_MISC_H */
  23.